/* Firefox userChrome.css tweaks ********************************************************/
/* Github: https://github.com/aris-t2/customcssforfx ************************************/
/****************************************************************************************/


:root[lwtheme]:-moz-lwtheme-brighttext:not([style*='--lwt-header-image']) #navigator-toolbox #TabsToolbar,
:root[lwtheme]:-moz-lwtheme-brighttext:not([style*='--lwt-header-image']) #navigator-toolbox #nav-bar,
:root[lwtheme]:-moz-lwtheme-brighttext:not([style*='--lwt-header-image']) #navigator-toolbox toolbar:not(#TabsToolbar):not(#toolbar-menubar):not(#nav-bar) {
  appearance: none !important;
  background: black !important;
}

:root[lwtheme]:-moz-lwtheme-brighttext:not([style*='--lwt-header-image']) #navigator-toolbox #TabsToolbar .tabbrowser-tab:not(:hover):not([selected="true"]) .tab-content {
  background-image: linear-gradient(#323234,#323234) !important;
}

:root[lwtheme]:-moz-lwtheme-brighttext:not([style*='--lwt-header-image']) #navigator-toolbox #TabsToolbar .tabbrowser-tab:hover:not([selected="true"]) .tab-content {
  background-image: linear-gradient(#474749,#474749) !important;
}

:root[lwtheme]:-moz-lwtheme-brighttext:not([style*='--lwt-header-image']) #navigator-toolbox #TabsToolbar .tabbrowser-tab[selected="true"] .tab-content {
  background-image: linear-gradient(transparent,black,black) !important;
}

@media (-moz-content-prefers-color-scheme: dark) {
	:root[lwtheme]:-moz-lwtheme-brighttext:not([style*='--lwt-header-image']) #navigator-toolbox #TabsToolbar,
	:root[lwtheme]:-moz-lwtheme-brighttext:not([style*='--lwt-header-image']) #navigator-toolbox #nav-bar,
	:root[lwtheme]:-moz-lwtheme-brighttext:not([style*='--lwt-header-image']) #navigator-toolbox toolbar:not(#TabsToolbar):not(#toolbar-menubar):not(#nav-bar) {
	  appearance: none !important;
	  background: black !important;
	}

	:root[lwtheme]:-moz-lwtheme-brighttext:not([style*='--lwt-header-image']) #navigator-toolbox #TabsToolbar .tabbrowser-tab:not(:hover):not([selected="true"]) .tab-content {
	  background-image: linear-gradient(#323234,#323234) !important;
	}

	:root[lwtheme]:-moz-lwtheme-brighttext:not([style*='--lwt-header-image']) #navigator-toolbox #TabsToolbar .tabbrowser-tab:hover:not([selected="true"]) .tab-content {
	  background-image: linear-gradient(#474749,#474749) !important;
	}

	:root[lwtheme]:-moz-lwtheme-brighttext:not([style*='--lwt-header-image']) #navigator-toolbox #TabsToolbar .tabbrowser-tab[selected="true"] .tab-content {
	  background-image: linear-gradient(transparent,black,black) !important;
	}
}
